package com.yc.multiple.service;

import com.yc.multiple.bean.paycenter.Paycenter;
import com.yc.multiple.dao.paycenter.PaycenterDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaycenterService {

    @Autowired
    private PaycenterDao paycenterDao;

    public List<Paycenter> listPaycenter(){
        return paycenterDao.selectAll();
    }
}
